<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            margin: 0px;
            padding: 0px;
        }
        .box{
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
        padding: 10px;
        justify-content: space-between;
        }
        .imgs{
            border-radius: 8px;
        }
        .photo{
        width: 150px;
        height: 200px;
        /* 包括padding和border在内的宽度计算 */
        box-sizing: border-box;
        /* 每个项目占据22%的宽度,保持四个项目一行 */
        flex:1 1 22%;
        /* 右边距,确保四个项目一行 */
        margin-right: 2%;

        padding: 10px;
        text-align: center;
        }
        .number{
          width: 150px;
            background-color: rgba(112, 104, 104,0.5);
            position: relative;
            top: -20px;
            left: 16px;
            color: white;
           font-size: 16px;
           border-radius: 8px;
           text-align: left;
          
        }
        .jiantou{
            width: 15px;
            height: 15px;
        }
    </style>
</head>
<body>
    <div class="box">

        <div class="photo">
            <img src="./img/flex-01.jpg" alt="" class="imgs">
            <div class="number"><img src="./img/icon_play1.png" alt="" class="jiantou">2444.0万</div>
            <div class="text">催眠：Delta脑波音乐减压深度睡眠</div>
        </div>

        <div class="photo">
            <img src="./img/flex-02.jpg" alt="" class="imgs">
            <div class="number"><img src="./img/icon_play1.png" alt="" class="jiantou">2444.0万</div>
            <div class="text">催眠：Delta脑波音乐减压深度睡眠</div>
        </div>

        <div class="photo">
            <img src="./img/flex-03.jpg" alt="" class="imgs">
            <div class="number"><img src="./img/icon_play1.png" alt="" class="jiantou">2444.0万</div>
            <div class="text">催眠：Delta脑波音乐减压深度睡眠</div>
        </div>

        <div class="photo">
            <img src="./img/flex-04.jpg" alt="" class="imgs">
            <div class="number"><img src="./img/icon_play1.png" alt="" class="jiantou">2444.0万</div>
            <div class="text">催眠：Delta脑波音乐减压深度睡眠</div>
        </div>

        <div class="photo">
            <img src="./img/flex-05.jpg" alt="" class="imgs">
            <div class="number"><img src="./img/icon_play1.png" alt="" class="jiantou">2444.0万</div>
            <div class="text">催眠：Delta脑波音乐减压深度睡眠</div>
        </div>

        <div class="photo">
            <img src="./img/flex-06.jpg" alt="" class="imgs">
            <div class="number"><img src="./img/icon_play1.png" alt="" class="jiantou">2444.0万</div>
            <div class="text">催眠：Delta脑波音乐减压深度睡眠</div>
        </div>

        <div class="photo">
            <img src="./img/flex-07.jpg" alt="" class="imgs">
            <div class="number"><img src="./img/icon_play1.png" alt="" class="jiantou">2444.0万</div>
            <div class="text">催眠：Delta脑波音乐减压深度睡眠</div>
        </div>

        <div class="photo">
            <img src="./img/flex-08.jpg" alt="" class="imgs">
            <div class="number"><img src="./img/icon_play1.png" alt="" class="jiantou">2444.0万</div>
            <div class="text">催眠：Delta脑波音乐减压深度睡眠</div>
        </div>
    </div>
</body>
</html>